Implemented reading MFT tracks from AOD files#8580
Conversation
There was a problem hiding this comment.
actually, also the directory on /home/epn/ where the jsons are stored is jsons.
There was a problem hiding this comment.
I changed this to follow the default directory from which ED reads them:
In any case I think the best solution would be to extract this value to a header, so it is in sync in both ED and the AOD workflow.
There was a problem hiding this comment.
The addTrackToEvent takes GlobalTrackID (track type a.k.a Source + index in the source container + optional 2 bits) as an argument, while detectorMapToGID returns just a Source. Since here you don't care about the index, you can rename the detectorMapToGID to detectorMapToGIDSource and use it as
addTrackToEvent(tr, GID{0, detectorMapToGIDSrc(track.detectorMap())}, trackTime, 0.);
There was a problem hiding this comment.
Thanks, this is now fixed.
No description provided.